Length of Maximal Common Subsequences

نویسنده

  • Kim S. Larsen
چکیده

The problem of computing the length of the maximal common subsequences of two strings is quite well examined in the sequential case. There are many variations, but the standard approach is to compute the length in quadratic time using dynamic programming. A lineartime parallel algorithm can be obtained via a simple modification of this strategy by letting a linear number of processors sweep through the table created for the dynamic programming approach. However, the contribution of this paper is to show that the problem is in NC. More specifically, we show that the length of the maximal common subsequences of two strings s and t can be computed in time O(log|s|· log|t|) in the CREW PRAM model and in time Θ(min(log|s|, log|t|)) in the COMMON CRCW PRAM model.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

DNA sequences useful for computation

Recent proposals for DNA based computing 1], 2], 3] encode Boolean vector component values with sequences of DNA. It has previously been assumed that suucient length random subsequences could be used to encode component values. However use of such subsequences will inadvertently result in long complementary subsequences. Complementary subsequences of suucient length would stick to each other an...

متن کامل

A Greedy Approach for Computing Longest Common Subsequences

This paper presents an algorithm for computing Longest Common Subsequences for two sequences. Given two strings X and Y of length m and n, we present a greedy algorithm, which requires O(n log s) preprocessing time, where s is distinct symbols appearing in string Y and O(m) time to determines Longest Common Subsequences.

متن کامل

Sequences in abelian groups G of odd order without zero-sum subsequences of length exp ( G )

We present a new construction for sequences in the finite abelian group C n without zero-sum subsequences of length n, for odd n. This construction improves the maximal known cardinality of such sequences for r > 4 and leads to simpler examples for r > 2. Moreover we explore a link to ternary affine caps and prove that the size of the second largest complete caps in AG(5, 3) is 42.

متن کامل

Twins in words and long common subsequences in permutations

A large family of words must contain two words that are similar. We investigate several problems where the measure of similarity is the length of a common subsequence. We construct a family of n permutations on n letters, such that LCS of any two of them is only cn, improving a construction of Beame, Blais, and Huynh-Ngoc. We relate the problem of constructing many permutations with small LCS t...

متن کامل

Height of Random Walks and Length of Longest common Subsequences in Pattern Matching

Given m sequences, what is the average length of the longest common part, of the second largest...? What is the average length of the last common suffix? For any size of the alphabet and any distribution of the letters, this question is covered by a variant of a famous model in population biology (the Moran model), which in turn can be converted into a random walk model in dimension m (with inf...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1992